
import Layout from '@/views/layout/Layout'

const client_manage = {
  path: '/client_manage',
  component: Layout,
  redirect: '/client_manage/private',
  name: 'client_manage',
  alwaysShow: true,
  meta: { title: '客户管理', roles: ['1', '17', '18', '16', '15'], icon: 'weibiaoti2' },
  children: [
    {
      path: 'private',
      name: 'client_manage.private',
      component: () => import('@/views/client_manage/private/index'),
      meta: { title: '私有客户', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/private' }

    },
    {
      path: 'check_private_info',
      name: 'private.check_info',
      hidden: true,
      component: () => import('@/views/client_manage/components/check_info'),
      meta: { title: '查看信息', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/check_private_info' }
    },

    {
      path: 'contacts',
      name: 'client_manage.contacts',
      component: () => import('@/views/client_manage/contacts/index'),
      meta: { title: '联系人', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/contacts' }
    },
    {
      path: 'check_contacts',
      name: 'contacts.check_contacts',
      hidden: true,
      component: () => import('@/views/client_manage/contacts/check_contacts'),
      meta: { title: '查看联系人', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/check_contacts' }
    },

    {
      path: 'high_seas_client',
      name: 'client_manage.high_seas_client',
      component: () => import('@/views/client_manage/high_seas_client/index'),
      meta: { title: '公海客户', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/high_seas_client' }
    },
    {
      path: 'check_high_seas_info',
      name: 'high_seas.check_info',
      hidden: true,
      component: () => import('@/views/client_manage/components/check_info'),
      meta: { title: '查看信息', roles: ['1', '17', '18', '14'], icon: 'subsystem', fullPath: '/client_manage/check_private_info' }
    },

    {
      path: 'invoice_info',
      name: 'client_manage.invoice_info',
      component: () => import('@/views/client_manage/invoice_info/index'),
      meta: { title: '开票信息列表', icon: 'subsystem', fullPath: '/client_manage/invoice_info' }
    },
    {
      path: 'modify_invoice_info/:id?',
      name: 'invoice_info.modify',
      hidden: true,
      component: () => import('@/views/client_manage/invoice_info/modify'),
      meta: { title: '查看信息', icon: 'subsystem', fullPath: '/client_manage/modify_invoice_info' }
    }
  ]
}

export default client_manage
